package acs.bridge;

import acs.bridge.dao.BridgeDAOImpl;
import org.apache.log4j.Logger;
import org.springframework.dao.DataAccessException;

import java.math.BigDecimal;
import java.sql.SQLException;

/**
 * ACS
 * User: stas
 * Date: 28.04.13
 * Time: 10:26
 */
public class BridgeModule implements BridgeModuleInterface  {
    Logger logger = Logger.getLogger(this.getClass().getName());
    private BridgeDAOImpl bridgeDAOImpl;

    public void execute(String a_group_tag,String a_meta_tag,BigDecimal a_raw_id,String a_module_tag) throws BridgeModuleException  {
        logger.info("BridgeModule");
        bridgeDAOImpl.prc_msg("Test error", "E", "", 100, "BridgeModuleExecute");
    }

    public void setBridgeDAOImpl(BridgeDAOImpl bridgeDAOImpl) {
        this.bridgeDAOImpl = bridgeDAOImpl;
    }
}
